package com.group.www.pojo.entityextends;

import com.group.www.pojo.BrandInfo;
import com.group.www.pojo.GoodsInfo;
import com.group.www.pojo.OrderInfo;
import com.group.www.pojo.UserInfo;

import java.util.HashSet;
import java.util.Set;

public class OrderInfoExrendUserInfo_Brandinfo extends OrderInfo {

    private BrandInfo brandInfo;

    private UserInfo userInfo;

    private Set<GoodsInfo> gdInfos=new HashSet<GoodsInfo>();

    public OrderInfoExrendUserInfo_Brandinfo(BrandInfo brandInfo, UserInfo userInfo, Set<GoodsInfo> gdInfos) {
        this.brandInfo = brandInfo;
        this.userInfo = userInfo;
        this.gdInfos = gdInfos;
    }

    public OrderInfoExrendUserInfo_Brandinfo() {
    }

    public BrandInfo getBrandInfo() {
        return brandInfo;
    }

    public void setBrandInfo(BrandInfo brandInfo) {
        this.brandInfo = brandInfo;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Set<GoodsInfo> getGdInfos() {
        return gdInfos;
    }

    public void setGdInfos(Set<GoodsInfo> gdInfos) {
        this.gdInfos = gdInfos;
    }

    @Override
    public String toString() {
        return "OrderInfoExrendUserInfo_Brandinfo{" +
                "brandInfo=" + brandInfo +
                ", userInfo=" + userInfo +
                ", gdInfos=" + gdInfos +
                '}';
    }

}
